package ch.areion.observator.server;

import ch.areion.common.message.Message;

public interface MessageListener {
	/**
	 * Notifies about a new message.
	 * @param msg The message received
	 */
	void messageReceived(Message msg);
	
	/**
	 * Notifies about a ended connection.
	 * @param con The connection which is down
	 */
	void clientDown(ClientConnection con);
}
